package edu.sctu.zcy.month201506.day20150611;

import java.sql.Time;
import java.time.LocalTime;
import java.util.Date;

/**
 * Created by user24 on 2015/6/11.
 */
public class TimeDemo {

    public static void main(String[] args) throws Exception {

        long a = 2015/06/11;

        String s = " 2015/06/11";

        Time time = new Time(a);
//        System.out.println(time.toInstant());
        System.out.println(time.toLocalTime());
        System.out.println(time.getClass());
        System.out.println(time.getTime());
        System.out.println(time.hashCode());
        System.out.println(time);

        Time.valueOf(s);
    }
}
